'use strict';
let plugins = [
    require('babel-plugin-syntax-async-functions'),
    require('babel-plugin-syntax-async-generators'),
    require('babel-plugin-transform-async-to-generator'),
    require('babel-plugin-transform-es2015-destructuring'),
    require('babel-plugin-transform-es2015-modules-commonjs'),
    require('babel-plugin-transform-es2015-parameters'),
    require('babel-plugin-transform-es2015-sticky-regex'),
    require('babel-plugin-transform-es2015-unicode-regex')
];
if (/v4/.test(process.version)) {
    plugins.push(require('babel-plugin-transform-es2015-spread'));
}
module.exports = {plugins};
